package com.example.demo.service;

import com.baomidou.mybatisplus.plugins.Page;
import com.baomidou.mybatisplus.service.IService;
import com.example.demo.VO.PermissionsVO;
import com.example.demo.entity.Permissions;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author hanfei
 * @since 2020-04-08
 */
public interface IPermissionsService extends IService<Permissions> {
        Page<Permissions> findByKey(Page<Permissions> var1, @Param("key") String key);
        Page<Permissions> findByKeyAndAll(Page<Permissions> var1, @Param("key") String key, @Param("entity") Permissions entity);
        List<PermissionsVO> getChild(String id, List<PermissionsVO> rootMenu);
        List<PermissionsVO> findall();
}
